// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_MST_INDUSTRY_TYPE
// * CreateDate    : 2014-06-05 18:30:15
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:15
// * LastChanger   : 2014-06-05 18:30:15
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class MstIndustryTypeTable : TableInfo
    {
		public const string C_TableName = "MST_INDUSTRY_TYPE";
		
		public const string C_INDUSTRY_TYPE_CODE = "INDUSTRY_TYPE_CODE";
		public const string C_INDUSTRY_TYPE_NAME = "INDUSTRY_TYPE_NAME";
		public const string C_DESCRIPTION = "DESCRIPTION";
		
		public MstIndustryTypeTable()
        {
            _tableName = "MST_INDUSTRY_TYPE";
        }
		
		protected static MstIndustryTypeTable _current;
        public static MstIndustryTypeTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new MstIndustryTypeTable();

            _current.Add(C_INDUSTRY_TYPE_CODE, new ColumnInfo(C_INDUSTRY_TYPE_CODE,"IndustryTypeCode", true, typeof(string)));
            _current.Add(C_INDUSTRY_TYPE_NAME, new ColumnInfo(C_INDUSTRY_TYPE_NAME,"IndustryTypeName", false, typeof(string)));
            _current.Add(C_DESCRIPTION, new ColumnInfo(C_DESCRIPTION,"Description", false, typeof(string)));
			
		}
		
		public ColumnInfo INDUSTRY_TYPE_CODE
        {
            get { return this[C_INDUSTRY_TYPE_CODE]; }
        }
		
		public ColumnInfo INDUSTRY_TYPE_NAME
        {
            get { return this[C_INDUSTRY_TYPE_NAME]; }
        }
		
		public ColumnInfo DESCRIPTION
        {
            get { return this[C_DESCRIPTION]; }
        }
		
		
		
	}
}

